﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Happy.StateManager.Configuration
{
    /// <summary>
    /// 配置接口
    /// </summary>
    public interface IConfig<TState, TOperation>
    {
        /// <summary>
        /// 当处于某个状态的时候。
        /// </summary>
        IInConfig<TState, TOperation> In(TState fromState);

        /// <summary>
        /// 完成配置。
        /// </summary>
        StateTable<TState, TOperation> Done();
    }
}
